<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<html>
<head>
    <title>错误</title>
    <style>
        .container { width: 600px; margin: 50px auto; text-align: center; }
        .error { color: red; margin: 20px 0; }
    </style>
</head>
<body>
    <div class="container">
        <h1>系统错误</h1>
        <div class="error">${error}</div>
        <a href="${pageContext.request.contextPath}/login">返回登录页面</a>
    </div>
</body>
</html>
            background-color: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 5px;
        }
    </style>
</head>
<body>
    <div class="error-container">
        <h1>出错了</h1>
        <div class="error-message">${error}</div>
        <a href="${pageContext.request.contextPath}/survey/list" class="back-link">返回首页</a>
    </div>
</body>
</html>
